package lab02.test12;

public class Circle extends Shape {

    //半径，π
    double raduis;

    @Override
    public double area() {
        return 3.14 * raduis * raduis;
    }

    @Override
    public double perimeter() {
        return 3.14 * 2 * raduis;
    }
}
